package com.hxgz.steel.dao;

import com.hxgz.steel.domain.ProductParameter;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("ProductParameterMapper")
public interface ProductParameterMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductParameter record);

    int insertSelective(ProductParameter record);

    ProductParameter selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductParameter record);

    int updateByPrimaryKey(ProductParameter record);

    List<ProductParameter> listParameterByProId(Long productId);

    int deleteByProductId(Long productId);

  List<ProductParameter> selectByProcuctId(Long id);
}